package cn.wolfcode.service;

import cn.wolfcode.domian.Result;
import cn.wolfcode.domian.emp;
import cn.wolfcode.domian.pageBean;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface empService {


    pageBean list(Integer page, Integer pagesize, String name, Integer gender, Date begin, Date end);


    void delete(List<Long> ids);

    void add(emp emp);

    emp getById(Long id);

    void update(emp emp);

    Result login(emp emp);
}
